
DATE=$(date +%Y-%m-%d-%H-%M-%S)
echo $DATE

log_dir='/var/www/SITES/ktlog/review-nginx-report/'

goaccess -f /var/log/nginx/access.log --log-format='%h %^[%d:%^] "%r" %s %b "%R" "%u"' --date-format='%d/%b/%Y' -a > $log_dir'nginx-access-log-'$DATE.html

ls /var/www/SITES/ktlog/review-nginx-report > /var/www/SITES/ktlog/review-nginx-report/report-list.txt